package com.stu.design_patterns.factory._02_factory_method;

public class Main {
  public static void main(String[] args) {
    Car car1 = new AudiFactory().getInstance();
    car1.run();
    Car car2 = new BenzFactory().getInstance();
    car2.run();
  }
}
